{if $crons|@count > 0}
    <table><tbody>
        <tr>
            <th>{lang m="croncontrol" l="schedule"}</th>
            <th>{lang m="croncontrol" l="url"}</th>
            <th>{lang m="croncontrol" l="last_run"}</th>
            <th>{lang m="croncontrol" l="next_run"}</th>
            <th>{lang m="croncontrol" l="edit"}</td>
            <th>{lang m="croncontrol" l="delete"}</td>
        </tr>
    {section loop=$crons name=i}
        <tr>
        <td>{$crons[i].schedule}</td>
        <td>{$crons[i].url}</td>
        <td>{'H:ia d m Y'|date:$crons[i].last_run_tstamp}</td>
        <td>{'H:ia d m Y'|date:$crons[i].next_run_tstamp}</td>
        <td><a href="{$ccUrl}/edit/?cron={$crons[i].id}">{lang m="croncontrol" l="edit"}</a></td>
        <td><a href="{$ccUrl}/delete/?cron={$crons[i].id}">{lang m="croncontrol" l="delete"}</a></td>

        </tr>
    {/section}
    </tbody></table>
{else}
    <p>{lang m="croncontrol" l="no_crons_exist"}</p>
{/if}

